DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / FilterAsync Method / FilterAsync<T>(IDataCollection<T>,FilterExpression,CancellationToken) Method
The data collection.
The filter expression applied to the data.
The cancellation token.

In This Topic
    FilterAsync<T>(IDataCollection<T>,FilterExpression,CancellationToken) Method
    In This Topic
    Filters the data using specified filter expression.
    Syntax
    'Declaration
     
    Public Overloads Shared Function FilterAsync(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal filterExpression As FilterExpression, _
       Optional ByVal cancellationToken As CancellationToken _
    ) As Task
    public static Task FilterAsync<T>( 
       IDataCollection<T> dataCollection,
       FilterExpression filterExpression,
       CancellationToken cancellationToken
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    filterExpression
    The filter expression applied to the data.
    cancellationToken
    The cancellation token.

    Type Parameters

    T
    See Also